package com.atguigu.crowd.funding.service.api;

import java.util.List;

import com.atguigu.crowd.funding.entity.Admin;
import com.github.pagehelper.PageInfo;

public interface AdminService {
	public List<Admin> getAll();

	public void updateAdmin(Admin admin);

	public Admin login(String loginAcct,String userPswd);
	
	public PageInfo<Admin> queryAdminByKeyWord(Integer pageNum, Integer pageSize,String keyWord);

	public void batchDelect(List<Integer> adminidlist);

	public void save(Admin admin);

	public Admin queryAdminById(Integer adminid);

	public void update(Admin admin);
}
